/*右侧toolbar*/
.toolbar{ position: fixed; z-index: 999;  width: 316px; height: 100%; right: -280px; top: 0;}
.toolbar-menu{ width: 36px; height: 100%; background-color: #000; position: relative;}
.toolbar-menu-center{ width: 36px; margin-top: -150px; position: absolute; top: 40%; }
.toolbar-menu-center li{ width: 36px; height: 36px; position: relative; margin-top: 12px;}
.toolbar-menu-center li a{ display: block; position: relative; height: 36px; line-height: 36px; color: #fff; padding: 0 9px; font-size: 18px; }
.toolbar-menu-center li a i{ font-style: normal; position: absolute; top: -10px; left: 50%; transform:scale(0.8) translate(-58%, 0) ; padding: 0 5px 0 3px; line-height: 18px;  font-size: 0.12rem; background-color: #ff4081; border-radius: 20px; }
.toolbar-menu-center li a em{ font-style: normal; position: absolute; z-index: -1; display: block; width: 70px; padding-left: 10px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; font-size: 0.14rem; background-color: #ff4081; right: -70px; transition: all ease .25s; height: 36px; overflow: hidden;}
.toolbar-menu-center li a:hover,.toolbar-menu-center li a.current{ background-color: #ff4081; }
.toolbar-menu-center li a:hover em{ right: 36px; }


.toolbar-menu-bottom{ width: 36px; position: absolute; bottom: 20px;}
.toolbar-menu-bottom li{ width: 36px; height: 36px; position: relative; margin-top: 12px;}
.toolbar-menu-bottom li a{ display: block; height: 36px; position: relative; line-height: 36px; color: #fff; padding: 0 9px; font-size: 18px; }
.toolbar-menu-bottom li a em{ font-style: normal; position: absolute; z-index: -1; display: block; width: 70px; padding-left: 10px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; font-size: 0.14rem; background-color: #ff4081; right: -70px; transition: all ease .25s; height: 36px; overflow: hidden;}
.toolbar-menu-bottom li a .toolbar-code{ display: block; position: absolute; z-index: 1; width: 106px; padding: 10px; right: -106px; bottom: 36px; background-color: #ddd; transition: all ease .3s;}
.toolbar-menu-bottom li a .toolbar-code img{ width: 100%; height: auto; }
.toolbar-menu-bottom li a:hover,.toolbar-menu-bottom li a.current{ background-color: #ff4081; }
.toolbar-menu-bottom li a:hover em{ right: 36px; }
.toolbar-menu-bottom li a:hover .toolbar-code{right: 0px;}

.toolbar-content{ width: 280px; height: 100%; background-color: #f2f2f2; position: relative; z-index: 2}

/*工具栏购物车*/
.toolbar-cart{ position: relative; height: 100%; display: none; background-color: #f2f2f2;}
.toolbar-title{width: 100%; height: 40px; line-height: 40px; padding: 0 0 0 12px; position: absolute; z-index: 3; top: 0; background-color: #e9e9e9;}
.toolbar-title h5{ font-size: 0.16rem; }
.toolbar-title .closed-toolbar{ float: right; padding:0 12px; cursor: pointer; transition: all ease .25s;}
.toolbar-title .closed-toolbar:hover{ transform: rotate(180deg); }

.toolbar-cart-nothing{padding:40px 12px 100px; height: 100%; display: none;}
.toolbar-cart-nothing .hcart-nothing{ width: 100%; padding: 0 12px;  position: absolute; top:50%; transform: translate(0, -50%); }

.toolbar-cart-items{ padding:40px 0 100px 0;  height: 100%; overflow-y: auto;}
.toolbar-cart-items li{ background-color: #fff; padding:12px; border: none; margin-top: 12px; }
.toolbar-cart-items li .hcart-del{ width: 14px; height: 14px; display: none; position: absolute; top: auto; bottom: 15px; right: 12px; }
.toolbar-cart-items li:hover .hcart-del{ display: block; }

.toolbar-cart-total{ width: 100%; position: absolute; bottom: 0; background-color: #e9e9e9; padding: 12px 12px 16px; }
.toolbar-cart-total p{ line-height: 40px; margin: 0}
.toolbar-cart-total a{ display: block; text-align: center; background: #ff4081; color: #fff; line-height: 32px; border-radius: 3px; }

/*工具栏会员*/
.toolbar-user{ position: relative; height: 100%; background-color: #f2f2f2;}
.toolbar-user-info{padding:40px 0 0;  height: 100%; overflow-y: auto;}
.person-info{ padding:12px; background-color: #fff; }
.proson-avatar{ width: 100px; height: 100px; float: left; margin-right: 8px;}
.proson-avatar img{ width: 100%; height: auto;  border-radius: 5px;}
.person-info p{ margin: 0; line-height: 25px; font-size: 0.12rem;}
.person-info p a{ font-size: 0.14rem; }

.other-info{ background-color: #fff; margin-top: 0.12rem; }
.other-info-title{ height: 40px; line-height: 40px; text-align: center; margin: 0 12px; position: relative; }
.other-info-title:after{ display: block; content: ''; width: 100%; height: 1px; z-index: 1; position: absolute; top: 50%; border-bottom: 1px dotted #d4d4d4;}
.other-info-title span{ padding: 0 12px;  display: inline-block; background: #fff; position:absolute; z-index: 2; left:50%; transform: translate(-50%,0); }
.other-info-list{ padding: 0 }
.other-info-list li{ padding: 12px; border-bottom: 1px solid #f2f2f2;}
.other-info-list li a{ display: block; }
.other-info-list li a span{ margin-top: 2px; }

/*工具栏管理中心*/
.toolbar-control{ position: relative; height: 100%; background-color: #f2f2f2; display:none}
.toolbar-line{ padding:40px 0 0;  height: 100%; overflow-y: auto;}
.toolbar-line li{ padding: 12px 12px; background-color: #fff;  margin-top: 0.1rem;}
.toolbar-line li a{ display: block; }
.toolbar-line li a span{ margin-top: 2px; }

/*工具栏财务统计*/
.toolbar-count{ position: relative; height: 100%; background-color: #f2f2f2;display: none}
/*工具栏活动公告*/
.toolbar-notice{ position: relative; height: 100%; background-color: #f2f2f2;display: none}
/*工具栏我的收藏*/
.toolbar-add{ position: relative; height: 100%; background-color: #f2f2f2;display: none}
.toolbar-add .toolbar-cart-items{padding:40px 0 0;}
/*工具栏联系客服*/
.toolbar-service{ position: relative; height: 100%; background-color: #f2f2f2;display: none}
.toolbar-service .toolbar-line li a span{ margin-top: 0; }


/*头部购物车*/
.header-cart{ display: inline-block; position: absolute; right: 0; top:0; padding: 10px 20px; margin-top: 25px; background-color: #f5f5f5; border: 1px solid #f5f5f5;}

.count-num{ position: absolute; background: #FF4081; top: -5px; right: -5px; padding: 0 5px; color: #fff; font-size: 0.12rem; border-radius: 3px;}

/*鼠标滑过购物车后下显示*/
.header-cart:after{content: ''; display: none; width: 100%; height: 1px; background-color: #fff; position: absolute; z-index: 120; bottom: -1px; left: 0;}
.header-cart-content{ width: 220px; padding: 10px 10px 0; display: none; position: absolute; z-index: 120; right: -1px; top: 45px; background-color: #fff;border: 1px solid #eee;}
.header-cart:hover{ border: 1px solid #eee;  background-color: #fff;}
.header-cart:hover:after{ display: block; }
.header-cart:hover .header-cart-content{ display: block;}
.hcart-nothing{ line-height: 26px; }
.hcart-nothing img{ float: left; padding-right: 10px;}

.hcart-have{ padding: 0;}
.hcart-have li{ border-bottom: 1px solid #eee; padding: 10px 0; position: relative;}
.hcart-have li .hcart-img{ width: 75px; height: 75px; border:1px solid #eee; float: left; margin-right: 10px}
.hcart-have li .hcart-img a{ width: 100%; height: 100%;
                          display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex;
                          -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; 
                          -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; 
                          align-items: center; overflow: hidden;}
.hcart-have li .hcart-img img{ width: 100% }
.hcart-have li .hcart-text{  line-height: 20px; height: 75px; overflow: hidden; padding-top: 5px;}
.hcart-have li .hcart-del{ width: 14px; height: 14px; position: absolute; top: 38px; right: 0; }
.hcart-have li .hcart-del a{ display: block; background: #00b8d4; border-radius: 2px; line-height: 14px; font-size: 14px; text-align: center; color: #fff}
.hcart-have li .hcart-del a:hover{ background-color: #ff4081; }
.hcart-have .hcart-total{ padding: 10px 0;}
.hcart-have .hcart-total p{ line-height: 30px; margin: 0}
.hcart-have .hcart-total a{ display: block; text-align: center; background: #ff4081; color: #fff; line-height: 32px; border-radius: 3px; }